package com.kmxd.ams.init;

import lombok.Data;

/**
 * 添加业务字段
 *
 * @author zuolg
 */
@Data
public class FieldBO {

  private static final long serialVersionUID = 1L;

  public FieldBO() {}

  public FieldBO(String key, String name, String type, Integer len) {
    this.key = key;
    this.name = name;
    this.type = type;
    this.len = len;
  }

  public FieldBO(String key, String name, String type, Integer len, Boolean isDbUpdate) {
    this.key = key;
    this.name = name;
    this.type = type;
    this.len = len;
    this.isDbUpdate = isDbUpdate;
  }

  /** 字段名 */
  private String key;

  /** 名称 */
  private String name;

  /** 类型 */
  private String type;

  /** 长度 */
  private Integer len;

  /** 是否是数据库修改 */
  private Boolean isDbUpdate;
}
